
public class IFigure {

	protected static String name;

	protected static boolean is_convexe;

	protected static int nb_vertic;

	protected static int nb_horiz;


	public static String getName() {
		return name;
	}

	public static boolean isConvexe(){
		return is_convexe;
	}

	public static int getNbVertic(){
		if (is_convexe){
			return 1;
		}
		else{
			return nb_vertic;	
		}

	}

	public static int getNbHoriz(){
		if(is_convexe){
			return 1;
		}
		else{
			return nb_horiz;
		}
	}
}
